<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人</title>
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    <!-- 导入默认样式 -->
    <link rel="stylesheet" href="./css/reset.css">
    <!-- 导入我的样式 -->
    <link rel="stylesheet" href="./css/my.min.css">
    <!-- 
        校验是否已经成功登录
            如果已经成功登录,那么看到的是个人中心
            没有成功登录,那么看到需要登录的页面
     -->
     <script>
        const isLogin = localStorage.getItem("isLogin")
        if(isLogin == '1') window.location.href = './center.html'
     </script>
</head>
<body>
    <div class="my">
        <div class="top">
            <div class="left" onclick="window.location.href = './home.html'">主页</div>
            <p>学生登录</p>
        </div>
        <div class="content">
            <h2>🏀学生登录</h2>
            <div class="btn">
                <button class="btn1" onclick="window.location.href='./login.html'">邮箱登录</button>
                <button class="btn2">忘记密码</button>
            </div>
        </div>
        <div class="footer">
            <div onclick="window.location.href = './home.html'">
                <p><img src="http://s08vr7vdh.hn-bkt.clouddn.com/home.png" alt=""></p>
                <p>主页</p>
            </div>
            <div onclick="window.location.href = './category.html'">
                <p><img src="http://s08vr7vdh.hn-bkt.clouddn.com/cate.png" alt=""></p>
                <p>分类</p>
            </div>
            <div onclick="window.location.href = './my.html'">
                <p><img src="http://s08vr7vdh.hn-bkt.clouddn.com/my.png" alt=""></p>
                <p>个人</p>
            </div>
        </div>
    </div>
</body>
</html>